import request from '@/utils/request'

// 查询附加属性维护列表
export function listConfigAttrAtch(query) {
  return request({
    url: '/amz/configAttrAtch/list',
    method: 'get',
    params: query
  })
}

// 查询附加属性维护详细
export function getConfigAttrAtch(id) {
  return request({
    url: '/amz/configAttrAtch/' + id,
    method: 'get'
  })
}

// 新增附加属性维护
export function addConfigAttrAtch(data) {
  return request({
    url: '/amz/configAttrAtch',
    method: 'post',
    data: data
  })
}

// 修改附加属性维护
export function updateConfigAttrAtch(data) {
  return request({
    url: '/amz/configAttrAtch',
    method: 'put',
    data: data
  })
}

// 删除附加属性维护
export function delConfigAttrAtch(id) {
  return request({
    url: '/amz/configAttrAtch/' + id,
    method: 'delete'
  })
}

// 导出附加属性维护
export function exportConfigAttrAtch(query) {
  return request({
    url: '/amz/configAttrAtch/export',
    method: 'get',
    params: query
  })
}
